Part Number Hot Search : 
GS832 L2500 HMC557 MC3488AD 502A0 HDCUSTOM BF195 AT54S
Product Description
Full Text Search
 

To Download ADM1166 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  super sequencer with margining control and nonvolatile fault recording ADM1166 rev. 0 information furnished by analog devices is believed to be accurate and reliable. however, no responsibility is assumed by analog devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. specifications subject to change without notice. no license is granted by implication or otherwise under any patent or patent rights of analog devices. trademarks and registered trademarks are the property of their respective owners. one technology way, p.o. box 9106, norwood, ma 02062-9106, u.s.a. tel: 781.329.4700 www.analog.com fax: 781.461.3113 ?2010 analog devices, inc. all rights reserved. features complete supervisory and sequencing solution for up to 10 supplies 16 event deep black box nonvolatile fault recording 10 supply fault detectors enable supervision of supplies to <0.5% accuracy at all voltages at 25c <1.0% accuracy across all voltages and temperatures 5 selectable input attenuators allow supervision of supplies to 14.4 v on vh 6 v on vp1 to vp4 (vpx) 5 dual-function inputs, vx1 to vx5 (vxx) high impedance input to supply fault detector with thresholds between 0.573 v and 1.375 v general-purpose logic input 10 programmable driver outputs, pdo1 to pdo10 (pdox) open-collector with external pull-up push/pull output, driven to vddcap or vpx open collector with weak pull-up to vddcap or vpx internally charge-pumped high drive for use with external n-fet (pdo1 to pdo6 only) sequencing engine (se) implements state machine control of pdo outputs state changes conditional on input events enables complex control of boards power-up and power-down sequence control fault event handling interrupt generation on warnings watchdog function can be integrated in se program software control of sequencing through smbus complete voltage-margining solution for 6 voltage rails 6 voltage output 8-bit dacs (0.300 v to 1.551 v) allow voltage adjustment via dc-to-dc converter trim/feedback node 12-bit adc for readback of all supervised voltages 2 auxiliary (single-ended) adc inputs reference input (refin) has 2 input options driven directly from 2.048 v (0.25%) refout pin more accurate external reference for improved adc performance device powered by the highest of vpx, vh for improved redundancy user eeprom: 256 bytes industry-standard 2-wire bus interface (smbus) guaranteed pdo low with vh, vpx = 1.2 v available in 40-lead, 6 mm 6 mm lfcsp and 48-lead, 7 mm 7 mm tqfp packages for more information about the ADM1166 register map, refer to the an-698 application note functional block diagram pdo7 pdo8 pdo9 pdo10 pdognd vddcap vdd arbitrator dac1 v out dac dac2 v out dac dac3 v out dac dac4 v out dac dac5 v out dac dac6 v out dac gnd vccp vx1 vx2 vx3 vx4 vx5 vp1 vp2 vp3 vp4 vh a gnd programmable reset generators (sfds) dual- function inputs (logic inputs or sfds) sequencing engine configurable output drivers (lv capable of driving logic signals) pdo1 pdo2 pdo3 pdo4 pdo5 pdo6 sda scl a1 a0 smbus interface refout refin aux2 aux1 refgnd vref fault recording 12-bit sar adc mux eeprom closed-loop margining system ADM1166 configurable output drivers (hv capable of driving gates of n-fet) 09332-001 figure 1. applications central office systems servers/routers multivoltage system line cards dsp/fpga supply sequencing in-circuit testing of margined supplies general description the ADM1166 super sequencer? is a configurable supervisory/ sequencing device that offers a single-chip solution for supply monitoring and sequencing in multiple-supply systems. in addition to these functions, the ADM1166 integrates a 12-bit adc and six 8-bit voltage output dacs. these circuits can be used to implement a closed-loop margining system that enables supply adjustment by altering either the feedback node or reference of a dc-to-dc converter using the dac outputs. supply margining can be performed with a minimum of external components. the margining loop can be used for in-circuit testing of a board during production (for example, to verify board func- tionality at ?5% of nominal supplies), or it can be used dynamically to accurately control the output voltage of a dc-to-dc converter.
ADM1166 rev. 0 | page 2 of 32 table of contents features .............................................................................................. 1 ? functional block diagram .............................................................. 1 ? applications ....................................................................................... 1 ? general description ......................................................................... 1 ? revision history ............................................................................... 2 ? detailed block diagram .................................................................. 3 ? specifications ..................................................................................... 4 ? absolute maximum ratings ............................................................ 7 ? thermal resistance ...................................................................... 7 ? esd caution .................................................................................. 7 ? pin configurations and function descriptions ........................... 8 ? typical performance characteristics ........................................... 10 ? powering the ADM1166 ................................................................ 13 ? inputs ................................................................................................ 14 ? supply supervision ..................................................................... 14 ? programming the supply fault detectors ............................... 14 ? input comparator hysteresis .................................................... 14 ? input glitch filtering ................................................................. 15 ? supply supervision with vxx inputs ....................................... 15 ? vxx pins as digital inputs ........................................................ 15 ? outputs ............................................................................................ 16 ? supply sequencing through configurable output drivers . 16 ? default output configuration .................................................. 16 ? sequencing engine ......................................................................... 17 ? overview ...................................................................................... 17 ? warnings ...................................................................................... 17 ? smbus jump (unconditional jump) ........................................ 17 ? sequencing engine application example ............................... 18 ? fault and status reporting ........................................................ 19 ? nonvolatile black box fault recording ................................... 20 ? black box writes with no external supply ............................ 20 ? voltage readback............................................................................ 21 ? supply supervision with the adc ........................................... 21 ? supply margining ........................................................................... 22 ? overview ..................................................................................... 22 ? open-loop supply margining ................................................. 22 ? closed-loop supply margining ............................................... 22 ? writing to the dacs .................................................................. 23 ? choosing the size of the attenuation resistor ....................... 23 ? dac limiting and other safety features ............................... 23 ? applications diagram .................................................................... 24 ? communicating with the ADM1166 ........................................... 25 ? configuration download at power-up ................................... 25 ? updating the configuration ..................................................... 25 ? updating the sequencing engine ............................................. 26 ? internal registers ........................................................................ 26 ? eeprom ..................................................................................... 26 ? serial bus interface ..................................................................... 26 ? smbus protocols for ram and eeprom .............................. 28 ? write operations ........................................................................ 29 ? read operations ......................................................................... 30 ? outline dimensions ....................................................................... 32 ? ordering guide .......................................................................... 32 ? revision history 12 /10revision 0: initial version
ADM1166 rev. 0 | page 3 of 32 the device also provides up to 10 programmable inputs for monitoring undervoltage faults, overvoltage faults, or out-of- window faults on up to 10 supplies. in addition, 10 programmable outputs can be used as logic enables. six of these programmable outputs can also provide up to a 12 v output for driving the gate of an n-fet that can be placed in the path of a supply. the logical core of the device is a sequencing engine. this state- machine-based construction provides up to 63 different states. this design enables very flexible sequencing of the outputs, based on the condition of the inputs. a block of nonvolatile eeprom is available that can be used to store user-defined information and may also be used to hold a number of fault records that are written by the sequencing engine defined by the user when a particular fault or sequence occurs. the device is controlled via configuration data that can be programmed into an eeprom. the entire configuration can be programmed using an intuitive gui-based software package provided by analog devices, inc. detailed block diagram gpi signal conditioning sfd gpi signal conditioning sfd sfd sfd selectable attenuator selectable attenuator device controller osc eeprom sda scl a1 a0 smbus interface refout refin aux1 aux2 refgnd vref 12-bit sar adc ADM1166 configurable output driver (hv) pdo1 pdo2 pdognd pdo3 dac1 v out dac dac6 v out dac vccp gnd dac2 dac3 dac4 dac5 pdo4 pdo5 pdo8 pdo9 configurable output driver (hv) pdo6 configurable output driver (lv) pdo7 configurable output driver (lv) pdo10 sequencing engine vx2 vx3 vx4 vp2 vp3 vp4 vh vp1 vx1 agnd vx5 vddcap vdd arbitrator reg 5.25v charge pump 09332-002 fault recording figure 2. detailed block diagram
ADM1166 rev. 0 | page 4 of 32 specifications vh = 3.0 v to 14.4 v 1 , vpx = 3.0 v to 6.0 v 1 , t a = ?40c to +85c, unless otherwise noted. table 1. parameter min typ max unit test conditions/comments power supply arbitration vh, vpx 3.0 v minimum supply required on one of vpx, vh vpx 6.0 v maximum vddcap = 5.1 v, typical vh 14.4 v vddcap = 4.75 v vddcap 2.7 4.75 5.4 v regulated ldo output c vddcap 10 f minimum recommended decoupling capacitance power supply supply current, i vh , i vpx 4.2 6 ma vddcap = 4.75 v, pdo1 to pdo10 off, dacs off, adc off additional currents all pdox fet drivers on 1 ma vddcap = 4.75 v, pdo1 to pdo6 loaded with 1 a each, pdo7 to pdo10 off current available from vddcap 2 ma maximum additional load that can be drawn from all pdo pull-ups to vddcap dac supply currents 2.2 ma six dacs on with 100 a maximum load on each adc supply current 1 ma running round-robin loop eeprom erase current 10 ma 1 ms duration only, vddcap = 3 v supply fault detectors vh pin input impedance 52 k input attenuator error 0.05 % midrange and high range detection ranges high range 6 14.4 v midrange 2.5 6 v vpx pins input impedance 52 k input attenuator error 0.05 % low range and midrange detection ranges midrange 2.5 6 v low range 1.25 3 v ultralow range 0.573 1.375 v no input attenuation error vxx pins input impedance 1 m detection range ultralow range 0.573 1.375 v no input attenuation error absolute accuracy 1 % vref error + dac nonlinearity + comparator offset error + input attenuation error threshold resolution 8 bits digital glitch filter 0 s minimum programmable filter length 100 s maximum programmable filter length
ADM1166 rev. 0 | page 5 of 32 parameter min typ max unit test conditions/comments analog-to-digital converter signal range 0 v refin v the adc can convert signals presented to the vh, vpx, and vxx pins; vpx and vh input signals are attenuated depending on the selected range; a signal at the pin corresponding to the selected range is from 0.573 v to 1.375 v at the adc input input reference voltage on refin pin, v refin 2.048 v resolution 12 bits inl 2.5 lsb endpoint corrected, v refin = 2.048 v gain error 0.05 % v refin = 2.048 v conversion time 0.44 ms one conversion on one channel 84 ms all 12 channels selected, 16 averaging enabled offset error 2 lsb v refin = 2.048 v input noise 0.25 lsb rms direct input (no attenuator) aux1, aux2 input impedance 1 m buffered voltage output dacs resolution 8 bits code 0x7f output voltage six dacs are individually selectable for centering on one of four output voltage ranges range 1 0.592 0.6 0.603 v range 2 0.796 0.8 0.803 v range 3 0.996 1 1.003 v range 4 1.246 1.25 1.253 v output voltage range 601.25 mv same range, independent of center point lsb step size 2.36 mv inl 0.75 lsb endpoint corrected dnl 0.4 lsb gain error 1 % maximum load current (source) 100 a maximum load current (sink) 100 a maximum load capacitance 50 pf settling time to 50 pf load 2 s load regulation 2.5 mv per ma psrr 60 db dc 40 db 100 mv step in 20 ns with 50 pf load reference output reference output voltage 2.043 2.048 2.053 v no load load regulation ?0.25 mv sourcing current, i dacxmax = ?100 a 0.25 mv sinking current, i dacxmax = 100 a minimum load capacitance 1 f capacitor required for decoupling, stability psrr 60 db dc programmable driver outputs high voltage (charge-pump) mode (pdo1 to pdo6) output impedance 500 k v oh 11 12.5 14 v i oh = 0 a v oh 10.5 12 13.5 v i oh = 1 a v oh 2 8 10 13.5 v i oh = 7 a i outavg 20 a 2 v < v oh < 7 v
ADM1166 rev. 0 | page 6 of 32 parameter min typ max unit test conditions/comments standard (digital output) mode (pdo1 to pdo10) v oh 2.4 v v pu (pull-up to vddcap or vpx) = 2.7 v, i oh = 0.5 ma 4.5 v v pu to vpx = 6.0 v, i oh = 0 ma v pu ? 0.3 v v pu 2.7 v, i oh = 0.5 ma v ol 0 0.50 v i ol = 20 ma i ol 2 20 ma maximum sink current per pdox pin i sink 2 60 ma maximum total sink for all pdox pins r pull-up 16 20 29 k internal pull-up i source (vpx) 2 2 ma current load on any vpx pull-ups, that is, total source current available through an y number of pdo pull-up switches configured onto any one vpx pin three-state output leakage current 10 a v pdo = 14.4 v oscillator frequency 90 100 110 khz all on-chip time delays derived from this clock digital inputs (vxx, a0, a1) input high voltage, v ih 2.0 v maximum v in = 5.5 v input low voltage, v il 0.8 v maximum v in = 5.5 v input high current, i ih ?1 a v in = 5.5 v input low current, i il 1 a v in = 0 v input capacitance 5 pf programmable pull-down current, i pull-down 20 a vddcap = 4.75 v, t a = 25c, if known logic state is required serial bus digital inputs (sda, scl) input high voltage, v ih 2.0 v input low voltage, v il 0.8 v output low voltage, v ol 2 0.4 v i out = ?3.0 ma serial bus timing 3 clock frequency, f sclk 400 khz bus free time, t buf 1.3 s start setup time, t su;sta 0.6 s stop setup time, t su;sto 0.6 s start hold time, t hd;sta 0.6 s scl low time, t low 1.3 s scl high time, t high 0.6 s scl, sda rise time, t r 300 ns scl, sda fall time, t f 300 ns data setup time, t su;dat 100 ns data hold time, t hd;dat 250 ns input low current, i il 1 a v in = 0 v sequencing engine timing state change time 10 s 1 at least one of the vh and vpx pins must be 3.0 v to maintain the device supply on vddcap. 2 specification is not production tested but is supported by characterization data at initial product release. 3 guaranteed by design.
ADM1166 rev. 0 | page 7 of 32 absolute maximum ratings table 2. parameter rating voltage on vh pin 16 v voltage on vpx pins 7 v voltage on vxx pins ?0.3 v to +6.5 v voltage on aux1, aux2 pins ?0.3 v to +5 v voltage on a0, a1 pins ?0.3 v to +7 v voltage on refin, refout pins 5 v voltage on vddcap, vccp pins 6.5 v voltage on dacx pins 6.5 v voltage on pdox pins 16 v voltage on sda, scl pins 7 v voltage on gnd, agnd, pdognd, refgnd pins ?0.3 v to +0.3 v input current at any pin 5 ma package input current 20 ma maximum junction temperature (t j max) 150c storage temperature range ?65c to +150c lead temperature soldering vapor phase, 60 sec 215c esd rating, all pins 2000 v stresses above those listed under absolute maximum ratings may cause permanent damage to the device. this is a stress rating only; functional operation of the device at these or any other conditions above those indicated in the operational section of this specification is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability. thermal resistance ja is specified for the worst-case conditions, that is, a device soldered in a circuit board for surface-mount packages. table 3. thermal resistance package type ja unit 40-lead lfcsp 26.5 c/w 48-lead tqfp 50 c/w esd caution
ADM1166 rev. 0 | page 8 of 32 pin configurations and function descriptions 09332-003 1 2 3 4 5 6 7 8 9 10 23 24 25 26 27 28 29 30 22 21 11 12 13 15 17 16 18 19 20 14 33 34 35 36 37 38 39 40 32 31 ADM1166 top view (not to scale) gnd vddcap aux1 aux2 sda scl a1 a0 vccp pdognd agnd refgnd refin refout dac1 dac2 dac3 dac4 dac5 dac6 vx1 vx2 vx3 vx4 vx5 vp1 vp2 vp3 vp4 vh pdo1 note 1. exposed pad should be soldered to the board for improved mechanical stability. pdo2 pdo3 pdo4 pdo5 pdo6 pdo7 pdo8 pdo9 pdo10 figure 3. 40-lead lfcsp pin configuration nc = no connect nc 48 gnd 47 vddcap 46 aux1 45 aux2 44 sda 43 scl 42 a1 41 a0 40 vccp 39 pdognd 38 nc 37 nc 13 agnd 14 refgnd 15 refin 16 refout 17 dac1 18 dac2 19 dac3 20 dac4 21 dac5 22 dac6 23 nc 24 nc 1 v x1 2 v x2 3 v x3 4 v x4 5 v x5 6 v p1 7 v p2 8 v p3 9 v p4 10 vh 11 nc 12 nc 36 pdo1 35 pdo2 34 pdo3 33 pdo4 32 pdo5 31 pdo6 30 pdo7 29 pdo8 28 pdo9 27 pdo10 26 nc 25 ADM1166 top view (not to scale) pin 1 indicator 09332-004 figure 4. 48-lead t qfp pin configuration table 4. pin function descriptions pin no. 40-lead lfcsp 48-lead tqfp mnemonic description 1, 12, 13, 24, 25, 36, 37, 48 nc no connect. 1 to 5 2 to 6 vx1 to vx5 (vxx) high impedance inputs to supply fault detectors. fault thresholds can be set from 0.573 v to 1.375 v. alternatively, these pins can be used as general-purpose digital inputs. 6 to 9 7 to 10 vp1 to vp4 (vpx) low voltage inputs to supply fault detectors. three input ranges can be set by altering the input attenuation on a potential divider conne cted to these pins, the output of which connects to a supply fault detector. these pins allow thresholds from 2.5 v to 6.0 v, from 1.25 v to 3.00 v, and from 0.573 v to 1.375 v. 10 11 vh high voltage input to supply fault detectors. two input ranges can be set by altering the input attenuation on a potential divider connected to this pin, the output of which connects to a supply fault detector. this pin allows thresholds from 6.0 v to 14.4 v and from 2.5 v to 6.0 v. 11 14 agnd 1 ground return for input attenuators. 12 15 refgnd 1 ground return for on-chip reference circuits. 13 16 refin reference input for adc. nominally, 2.048 v. this pin must be driven by a reference voltage. the on-board reference can be used by connecting the refout pin to the refin pin. 14 17 refout reference output, 2.048 v. typically connected to refin. note that the capacitor must be connected between this pin and refgnd. a 10 f capacitor is recommended for this purpose. 15 to 20 18 to 23 dac1 to dac6 voltage output dacs. these pins default to high impedance at power-up. 21 to 30 26 to 35 pdo10 to pdo1 programmable driver outputs. 31 38 pdognd 1 ground return for driver outputs. 32 39 vccp central charge-pump voltage of 5.25 v. a reservoir capacitor must be connected between this pin and gnd. a 10 f capacitor is recommended for this purpose. 33 40 a0 logic input. this pin sets the seventh bit of the smbus interface address. 34 41 a1 logic input. this pin sets the sixth bit of the smbus interface address. 35 42 scl smbus clock pin. bidirectional, open-drain pin that requires external resistive pull-up. 36 43 sda smbus data pin. bidirectional, open-drain pin that requires external resistive pull-up. 37, 38 44, 45 aux2, aux1 auxiliary, single-ended adc inputs.
ADM1166 rev. 0 | page 9 of 32 pin no. 40-lead lfcsp 48-lead tqfp mnemonic description 39 46 vddcap device supply voltage. linearly regulated fr om the highest of the vpx and vh pins to a typical of 4.75 v. note that the capacitor must be connected between this pin and gnd. a 10 f capacitor is recommended for this purpose. 40 47 gnd 1 supply ground. not applicable epad exposed pad. this pad is a no connect (nc). if possible, this pad should be soldered to the board for improved mechanical stability. 1 in a typical application, all ground pins are connected together.
ADM1166 rev. 0 | page 10 of 32 typical performance characteristics 6 0 1 2 3 4 5 06 5 4 3 2 1 v vp1 (v) v vddcap (v) 09332-050 figure 5. v vddcap vs. v vp1 6 0 1 2 3 4 5 01 1412 10 8642 v vh (v) v vddcap (v) 6 09332-051 figure 6. v vddcap vs. v vh 5.0 4.5 4.0 3.5 3.0 2.5 2.0 1.5 1.0 0.5 0 0123456 v vp1 (v) i vp1 (ma) 09332-052 figure 7. i vp1 vs. v vp1 (vp1 as supply) 180 160 140 120 100 80 60 40 20 0 0123456 v vp1 (v) i vp1 (a) 09332-053 figure 8. i vp1 vs. v vp1 (vp1 not as supply) 5.0 4.5 4.0 3.5 3.0 2.5 2.0 1.5 1.0 0.5 0 01 141210 8642 v vh (v) i vh (ma) 6 09332-054 figure 9. i vh vs. v vh (vh as supply) 350 300 250 200 150 100 50 0 06 5 4 3 2 1 v vh (v) i vh (a) 09332-055 figure 10. i vh vs. v vh (vh not as supply)
ADM1166 rev. 0 | page 11 of 32 14 12 10 8 6 4 2 0 0 15.0 12.5 10.0 7.5 5.0 2.5 i load (a) charge-pumped v pdo1 (v) 09332-056 figure 11. charge-pumped v pdo1 (fet drive mode) vs. i load 5.0 4.5 4.0 3.5 3.0 2.5 2.0 1.5 1.0 0.5 0 06 5 4 3 2 1 i load (ma) v pdo1 (v) vp1 = 5v vp1 = 3v 09332-057 figure 12. v pdo1 (strong pull-up to vpx) vs. i load 4.5 4.0 3.5 3.0 2.5 2.0 1.5 1.0 0.5 0 06 0 50 40 30 20 10 i load (a) v pdo1 (v) vp1 = 5v vp1 = 3v 09332-058 figure 13. v pdo1 (weak pull-up to vpx) vs. i load 1.0 ?1.0 ?0.8 ?0.6 ?0.4 ?0.2 0 0.2 0.4 0.6 0.8 4000 1000 2000 3000 0 code dnl (lsb) 09332-066 figure 14. dnl for adc 1.0 ?1.0 ?0.8 ?0.6 ?0.4 ?0.2 0 0.2 0.4 0.6 0.8 0 4000 3000 2000 1000 code inl (lsb) 09332-063 figure 15. inl for adc 12000 10000 8000 6000 4000 2000 0 2049 2048 2047 code hits per code 81 9894 25 09332-064 figure 16. adc noise, midcode input, 10,000 reads
ADM1166 rev. 0 | page 12 of 32 ch1 200mv m1.00s ch1 756mv 1 dac buffer output probe point 47pf 20k ? 09332-059 figure 17. transient response of dac code change into typical load ch1 200mv m1.00s ch1 944mv 1 dac buffer output 1v probe point 100k ? 09332-060 figure 18. transient response of dac to turn-on from high-z state 1.005 1.004 1.003 1.002 1.001 1.000 0.999 0.998 0.997 0.996 0.995 ?40 ?20 0 20 40 60 100 80 temperature ( c) dac output vp1 = 3.0v vp1 = 4.75v 09332-065 figure 19. dac output vs. temperature 2.058 2.038 2.043 2.048 2.053 ?40 ?20 0 20 40 60 100 80 temperature ( c) refout (v) vp1 = 3.0v vp1 = 4.75v 09332-061 figure 20. refout vs. temperature
ADM1166 rev. 0 | page 13 of 32 powering the ADM1166 the ADM1166 is powered from the highest voltage input on either the positive-only supply inputs (vpx) or the high voltage supply input (vh). this technique offers improved redundancy because the device is not dependent on any particular voltage rail to keep it operational. the same pins are used for supply fault detection (see the supply supervision section). a v dd arbitrator on the device chooses which supply to use. the arbitrator can be considered an oring of five low dropout regulators (ldos) together. a supply comparator chooses the highest input to provide the on-chip supply. there is minimal switching loss with this architecture (~0.2 v), resulting in the ability to power the ADM1166 from a supply as low as 3.0 v. note that the supply on the vxx pins cannot be used to power the device. an external capacitor to gnd is required to decouple the on-chip supply from noise. this capacitor should be connected to the vddcap pin, as shown in figure 21 . the capacitor has another use during brownouts (momentary loss of power). under these conditions, when the input supply (vpx or vh) dips transiently below v dd , the synchronous rectifier switch immediately turns off so that it does not pull v dd down. the v dd capacitor can then act as a reservoir to keep the device active until the next highest supply takes over the powering of the device. a 10 f capacitor is recommended for this reservoir/decoupling function. the value of the vddcap capacitor may be increased if it is necessary to guarantee a complete fault record is written into eeprom should all supplies fail. the value of capacitor to use is discussed in the black box writes with no external supply section. the vh input pin can accommodate supplies up to 14.4 v, which allows the ADM1166 to be powered using a 12 v backplane supply. in cases where this 12 v supply is hot swapped, it is recommended that the ADM1166 not be connected directly to the supply. suitable precautions, such as the use of a hot swap controller or rc filter network, should be taken to protect the device from transients that could cause damage during hot swap events. when two or more supplies are within 100 mv of each other, the supply that first takes control of v dd keeps control. for example, if vp1 is connected to a 3.3 v supply, v dd powers up to approximately 3.1 v through vp1. if vp2 is then connected to another 3.3 v supply, vp1 still powers the device, unless vp2 goes 100 mv higher than vp1. supply comparator in en out 4.75v ldo in en out 4.75v ldo in en out 4.75v ldo in en out 4.75v ldo in en out 4.75v ldo vh vp4 vp3 vp2 vp1 v ddc a p internal device supply 09332-022 figure 21. v dd arbitrator operation
ADM1166 rev. 0 | page 14 of 32 inputs supply supervision the ADM1166 has 10 programmable inputs. five of these are dedicated supply fault detectors (sfds). these dedicated inputs are called vh and vpx (vp1 to vp4) by default. the other five inputs are labeled vxx (vx1 to vx5) and have dual functionality. they can be used either as sfds, with functionality similar to that of vh and vpx, or as cmos-/ttl-compatible logic inputs to the device. therefore, the ADM1166 can have up to 10 analog inputs, a minimum of five analog inputs and five digital inputs, or a combination thereof. if an input is used as an analog input, it cannot be used as a digital input. therefore, a configuration requiring 10 analog inputs has no available digital inputs. tabl e 6 shows the details of each input. programming the supply fault detectors the ADM1166 can have up to 10 sfds on its 10 input channels. these highly programmable reset generators enable the supervision of up to 10 supply voltages. the supplies can be as low as 0.573 v and as high as 14.4 v. the inputs can be configured to detect an undervoltage fault (the input voltage drops below a prepro- grammed value), an overvoltage fault (the input voltage rises above a preprogrammed value), or an out-of-window fault (the input voltage is outside a preprogrammed range). the thresholds can be programmed to an 8-bit resolution in registers provided in the ADM1166. this translates to a voltage resolution that is dependent on the range selected. the resolution is given by step size = threshold range /255 therefore, if the high range is selected on vh, the step size can be calculated as (14.4 v ? 6.0 v)/255 = 32.9 mv table 5 lists the upper and lower limits of each available range, the bottom of each range (v b ), and the range itself (v r ). table 5. voltage range limits voltage range (v) v b (v) v r (v) 0.573 to 1.375 0.573 0.802 1.25 to 3.00 1.25 1.75 2.5 to 6.0 2.5 3.5 6.0 to 14.4 6.0 8.4 the threshold value required is given by v t = ( v r n )/255 + v b where: v t is the desired threshold voltage (undervoltage or overvoltage). v r is the voltage range. n is the decimal value of the 8-bit code. v b is the bottom of the range. reversing the equation, the code for a desired threshold is given by n = 255 (v t ? v b )/ v r for example, if the user wants to set a 5 v overvoltage threshold on vp1, the code to be programmed in the ps1ovth register (as discussed in the an-698 application note) is given by n = 255 (5 ? 2.5)/3.5 therefore, n = 182 (1011 0110 or 0xb6). input comparator hysteresis the uv and ov comparators shown in figure 22 are always looking at vpx. to avoid chatter (multiple transitions when the input is very close to the set threshold level), these comparators have digitally programmable hysteresis. the hysteresis can be programmed up to the values shown in table 6 . + ? + ? uv comparator vref fault type select ov comparator fault output glitch filter vpx mid low range select ultra low 09332-023 figure 22. supply fault detector block the hysteresis is added after a supply voltage goes out of tolerance. therefore, the user can program the amount above the undervoltage threshold to which the input must rise before an undervoltage fault is deasserted. similarly, the user can program the amount below the overvoltage threshold to which an input must fall before an overvoltage fault is deasserted. table 6. input functions, thresholds, and ranges input function voltage range (v) maximum hysteresis voltage resolution (mv) glitch filter (s) vh high voltage analog input 2.5 to 6.0 425 mv 13.7 0 to 100 6.0 to 14.4 1.02 v 32.9 0 to 100 vpx positive analog input 0.573 to 1.375 97.5 mv 3.14 0 to 100 1.25 to 3.00 212 mv 6.8 0 to 100 2.5 to 6.0 425 mv 13.7 0 to 100 vxx high-z analog input 0.573 to 1.375 97.5 mv 3.14 0 to 100 digital input 0 to 5.0 not appl icable not applicable 0 to 100
ADM1166 rev. 0 | page 15 of 32 the hysteresis value is given by v hyst = v r n thresh /255 where: v hyst is the desired hysteresis voltage. n thresh is the decimal value of the 5-bit hysteresis code. note that n thresh has a maximum value of 31. the maximum hysteresis for the ranges is listed in table 6 . input glitch filtering the final stage of the sfds is a glitch filter. this block provides time-domain filtering on the output of the sfd comparators, which allows the user to remove any spurious transitions such as supply bounce at turn-on. the glitch filter function is in addition to the digitally programmable hysteresis of the sfd comparators. the glitch filter timeout is programmable up to 100 s. for example, when the glitch filter timeout is 100 s, any pulse appearing on the input of the glitch filter block that is less than 100 s in duration is prevented from appearing on the output of the glitch filter block. any input pulse that is longer than 100 s appears on the output of the glitch filter block. the output is delayed with respect to the input by 100 s. the filtering process is shown in figure 23 . t 0 t gf t 0 t gf t 0 t gf t 0 t gf input input pulse shorte r than glitch filter timeout input pulse longe r than glitch filter timeout output programmed timeout programmed timeout input output 09332-024 figure 23. input glitch filter function supply supervision with vxx inputs the vxx inputs have two functions. they can be used as either supply fault detectors or digital logic inputs. when selected as analog (sfd) inputs, the vxx pins have functionality that is very similar to the vh and vpx pins. the primary difference is that the vxx pins have only one input range: 0.573 v to 1.375 v. therefore, these inputs can directly supervise only the very low supplies. however, the input impedance of the vxx pins is high, allowing an external resistor divide network to be connected to the pin. thus, potentially any supply can be divided down into the input range of the vxx pin and supervised. this enables the ADM1166 to monitor other supplies, such as +24 v, +48 v, and ?5 v. an additional supply supervision function is available when the vxx pins are selected as digital inputs. in this case, the analog function is available as a second detector on each of the dedicated analog inputs, vpx and vh. the analog function of vx1 is mapped to vp1, vx2 is mapped to vp2, and so on. vx5 is mapped to vh. in this case, these sfds can be viewed as secondary or warning sfds. the secondary sfds are fixed to the same input range as the primary sfds. they are used to indicate warning levels rather than failure levels. this allows faults and warnings to be generated on a single supply using only one pin. for example, if vp1 is set to output a fault when a 3.3 v supply drops to 3.0 v, vx1 can be set to output a warning at 3.1 v. warning outputs are available for readback from the status registers. they are also ored together and fed into the se, allowing warnings to generate interrupts on the pdos. therefore, in this example, if the supply drops to 3.1 v, a warning is generated, and remedial action can be taken before the supply drops out of tolerance. vxx pins as digital inputs as discussed in the supply supervision with vxx inputs section, the vxx input pins on the ADM1166 have dual functionality. the second function is as a digital logic input to the device. therefore, the ADM1166 can be configured for up to five digital inputs. these inputs are ttl-/cmos-compatible inputs. standard logic signals can be applied to the pins: reset from reset generators, pwrgd signals, fault flags, and manual resets. these signals are available as inputs to the se and, therefore, can be used to control the status of the pdos. the inputs can be configured to detect either a change in level or an edge. when configured for level detection, the output of the digital block is a buffered version of the input. when configured for edge detection, a pulse of programmable width is output from the digital block once the logic transition is detected. the width is programmable from 0 s to 100 s. the digital blocks feature the same glitch filter function that is available on the sfds. this enables the user to ignore spurious transitions on the inputs. for example, the filter can be used to debounce a manual reset switch. when configured as digital inputs, each vxx pin has a weak (10 a) pull-down current source available for placing the input into a known condition, even if left floating. the current source, if selected, weakly pulls the input to gnd. detector vxx (digital input) glitch filter vref = 1.4v to sequencing engine + ? 09332-027 figure 24. vxx digital input function
ADM1166 rev. 0 | page 16 of 32 outputs supply sequencing through configurable output drivers supply sequencing is achieved with the ADM1166 using the programmable driver outputs (pdos) on the device as control signals for supplies. the output drivers can be used as logic enables or as fet drivers. t he sequence in which the pdos are asserted (and, therefore, the supplies are turned on) is controlled by the sequencing engine (se). the se determines what action is taken with the pdos, based on the condition of the ADM1166 inputs. therefore, the pdos can be set up to assert when the sfds are in tolerance, the correct input signals are received on the vxx digital pins, and no warnings are received from any of the inputs of the device. the pdos can be used for a variety of functions. the primary function is to provide enable signals for ldos or dc-to-dc converters that generate supplies locally on a board. the pdos can also be used to provide a pwrgd signal, when all the sfds are in tolerance, or a reset output if one of the sfds goes out of specification (this can be used as a status signal for a dsp, fpga, or other microcontroller). t he pdos can be programmed to pull up to a number of different options. the outputs can be programmed as follows: ? open drain (allowing the user to connect an external pull-up resistor). ? open drain with weak pull-up to v dd . ? open drain with strong pull-up to v dd . ? open drain with weak pull-up to vpx. ? open drain with strong pull-up to vpx. ? strong pull-down to gnd. ? internally charge pumped high drive (12 v, pdo1 to pdo6 only). the last option (available only on pdo1 to pdo6) allows the user to directly drive a voltage high enough to fully enhance an external n-fet, which is used to isolate, for example, a card- side voltage from a backplane supply (a pdo can sustain greater than 10.5 v into a 1 a load). the pull-down switches can also be used to drive status leds directly. t he data driving each of the pdos can come from one of three sources. the source can be enabled in the pdoxcfg configu- ration register (see the an-698 application note for details). t he data sources are as follows: ? output from the se. ? directly from the smbus. a pdo can be configured so that the smbus has direct control over it. this enables software control of the pdos. therefore, a microcontroller can be used to initiate a software power-up/power-down sequence. ? on-chip clock. a 100 khz clock is generated on the device. this clock can be made available on any of the pdos. it can be used, for example, to clock an external device such as an led. default output configuration a ll of the internal registers in an unprogrammed ADM1166 device from the factory are set to 0. because of this, the pdox pins are pulled to gnd by a weak (20 k), on-chip pull-down resistor. a s the input supply to the ADM1166 ramps up on vpx or vh, all pdox pins behave as follows: ? input supply = 0 v to 1.2 v. the pdos are high impedance. ? input supply = 1.2 v to 2.7 v. the pdos are pulled to gnd by a weak (20 k), on-chip pull-down resistor. ? supply > 2.7 v. factory-programmed devices continue to pull all pdos to gnd by a weak (20 k), on-chip pull-down resistor. programmed devices download current eeprom configuration data, and the programmed setup is latched. the pdo then goes to the state demanded by the configuration. this provides a known condition for the pdos during power-up. the internal pull-down can be overdriven with an external pull-up of suitable value tied from the pdox pin to the required pull-up voltage. the 20 k resistor must be accounted for in calculating a suitable value. for example, if pdox must be pulled up to 3.3 v, and 5 v is available as an external supply, the pull-up resistor value is given by 3.3 v = 5 v 20 k/( r up + 20 k) therefore, r up = (100 k ? 66 k)/3.3 v = 10 k pdo se data cfg4 cfg5 cfg6 smbus data clk data 10 ? 20k? 10 ? 20k? vp1 sel vp4 10 ? 20k? v dd v fet (pdo1 to pdo6 only) 20k ? 09332-028 figure 25. programmable driver output
ADM1166 rev. 0 | page 17 of 32 sequencing engine overview t he ADM1166 sequencing engine (se) provides the user with powerful and flexible control of sequencing. the se implements state machine control of the pdo outputs, with state changes conditional on input events. se programs can enable complex control of boards such as power-up and power-down sequence control, fault event handling, and interrupt generation on warnings. a watchdog function that verifies the continued operation of a processor clock can be integrated into the se program. the se can also be controlled via the smbus, giving software or firmware control of the board sequencing. t he se state machine comprises 63 state cells. each state has the following attributes: ? monitors signals indicating the status of the 10 input pins, vp1 to vp4, vh, and vx1 to vx5. ? can be entered from any other state. ? three exit routes move the state machine onto a next state: sequence detection, fault monitoring, and timeout. ? delay timers for the sequence and timeout blocks can be programmed independently and changed with each state change. the range of timeouts is from 0 ms to 400 ms. ? output condition of the 10 pdo pins is defined and fixed within a state. ? transition from one state to the next is made in less than 20 s, which is the time needed to download a state definition from eeprom to the se. ? can trigger a write of the black box fault and status registers into the black box section of eeprom. sequence timeout monitor fault state 09332-029 figure 26. state cell the ADM1166 offers up to 63 state definitions. the signals monitored to indicate the status of the input pins are the outputs of the sfds. warnings the se also monitors warnings. these warnings can be generated when the adc readings violate their limit register value or when the secondary voltage monitors on vpx or vh are triggered. the warnings are ored together and are available as a single warning input to each of the three blocks that enable exiting a state. smbus jump (unconditional jump) the se can be forced to advance to the next state unconditionally. this enables the user to force the se to advance. examples of the use of this feature include moving to a margining state or debugging a sequence. the smbus jump or go-to command can be seen as another input to sequence and timeout blocks to provide an exit from each state. table 7. sample sequence state entries state sequence timeout monitor idle1 if vx1 is low, go to state idle2. idle2 if vp1 is okay, go to state en3v3. en3v3 if vp2 is okay, go to state en2v5. if vp2 is not okay after 10 ms, go to state dis3v3. if vp1 is not okay, go to state idle1. dis3v3 if vx1 is high, go to state idle1. en2v5 if vp3 is okay, go to state pwrgd. if vp3 is not okay after 20 ms, go to state dis2v5. if vp1 or vp2 is not okay, go to state fsel2. dis2v5 if vx1 is high, go to state idle1. fsel1 if vp3 is not okay, go to state dis2v5. if vp1 or vp2 is not okay, go to state fsel2. fsel2 if vp2 is not okay, go to state dis3v3. if vp1 is not okay, go to state idle1. pwrgd if vx1 is high, go to state dis2v5. if vp 1, vp2, or vp3 is not okay, go to state fsel1.
ADM1166 rev. 0 | page 18 of 32 sequencing engine application example the application in this section demonstrates the operation of the se. figure 28 shows how the simple building block of a single se state can be used to build a power-up sequence for a three-supply system. table 8 lists the pdo outputs for each state in the same se implementation. in this system, a good 5 v supply on the vp1 pin and the vx1 pin held low are the triggers required to start a power-up sequence. next, the sequence turns on the 3.3 v supply, then the 2.5 v supply (assuming successful turn-on of the 3.3 v supply). when all three supplies have turned on correctly, the pwrgd state is entered, where the se remains until a fault occurs on one of the three supplies or until it is instructed to go through a power-down sequence by vx1 going high. faults are dealt with throughout the power-up sequence on a case-by-case basis. the following three sections (the sequence detector section, the monitoring fault detector section, and the timeout detector section) describe the individual blocks and use the sample application shown in figure 28 to demonstrate the actions of the state machine. sequence detector the sequence detector block is used to detect when a step in a sequence has been completed. it looks for one of the se inputs to change state, and is most often used as the gate for successful progress through a power-up or power-down sequence. a timer block that is included in this detector can insert delays into a power-up or power-down sequence, if required. timer delays can be set from 10 s to 400 ms. figure 27 is a block diagram of the sequence detector. supply fault detection logic input change or fault detection warnings force flow (unconditional jump) vp1 vx5 invert sequence detector select timer 09332-032 figure 27. sequence detector block diagram if a timer delay is specified, the input to the sequence detector must remain in the defined state for the duration of the timer delay. if the input changes state during the delay, the timer is reset. the sequence detector can also help to identify monitoring faults. in the sample application shown in figure 28 , the fsel1 and fsel2 states first identify which of the vp1, vp2, or vp3 pins has faulted, and then they take appropriate action. idle1 idle2 en3v3 dis3v3 dis2v5 pwrgd fsel1 fsel2 sequence states monitor fault states timeout states vx1 = 0 vp1 = 1 vp1 = 0 (vp1 + vp2) = 0 (vp1 + vp2 + vp3) = 0 (vp1 + vp2) = 0 vp2 = 1 vp3 = 1 vp2 = 0 vx1 = 1 vp3 = 0 vp2 = 0 vp1 = 0 vx1 = 1 vx1 = 1 10ms 20ms en2v5 09332-030 figure 28. sample application flow diagram table 8. pdo outputs for each state pdo outputs idle1 idle2 en3v3 en2v5 dis3v3 dis2v5 pwrgd fsel1 fsel2 pdo1 = 3v3on 0 0 1 1 0 1 1 1 1 pdo2 = 2v5on 0 0 0 1 1 0 1 1 1 pdo3 = fault 0 0 0 0 1 1 0 1 1
ADM1166 rev. 0 | page 19 of 32 monitoring fault detector the monitoring fault detector block is used to detect a failure on an input. the logical function implementing this is a wide or gate that can detect when an input deviates from its expected condition. the clearest demonstration of the use of this block is in the pwrgd state, where the monitor block indicates that a failure on one or more of the vpx, vxx, or vh inputs has occurred. no programmable delay is available in this block because the triggering of a fault condition is likely to be caused by a supply falling out of tolerance. in this situation, the device must react as quickly as possible. some latency occurs when moving out of this state because it takes a finite amount of time (~20 s) for the state configuration to download from the eeprom into the se. figure 29 is a block diagram of the monitoring fault detector. supply fault detection logic input change or fault detection v p1 v x5 monitoring fault detector mask sense 1-bit fault detector fault warnings mask 1-bit fault detector fault mask sense 1-bit fault detector fault 09332-033 figure 29. monitoring fault detector block diagram timeout detector the timeout detector allows the user to trap a failure to ensure proper progress through a power-up or power-down sequence. in the sample application shown in figure 28 , the timeout next- state transition is from the en3v3 and en2v5 states. for the en3v3 state, the signal 3v3on is asserted on the pdo1 output pin upon entry to this state to turn on a 3.3 v supply. this supply rail is connected to the vp2 pin, and the sequence detector looks for the vp2 pin to go above its undervoltage threshold, which is set in the supply fault detector (sfd) attached to that pin. the power-up sequence progresses when this change is detected. if, however, the supply fails (perhaps due to a short circuit overloading this supply), the timeout block traps the problem. in this example, if the 3.3 v supply fails within 10 ms, the se moves to the dis3v3 state and turns off this supply by bringing pdo1 low. it also indicates that a fault has occurred by taking pdo3 high. timeout delays of 100 s to 400 ms can be programmed. fault and status reporting the ADM1166 has a fault latch for recording faults. two registers, fstat1 and fstat2, are set aside for this purpose. a single bit is assigned to each input of the device, and a fault on that input sets the relevant bit. the contents of the fault register can be read out over the smbus to determine which input(s) faulted. the fault register can be enabled or disabled in each state. to latch data from one state, ensure that the fault latch is disabled in the following state. this ensures that only real faults are captured and not, for example, undervoltage conditions that may be present during a power-up or power-down sequence. the ADM1166 also has a number of input status registers. these include more detailed information, such as whether an under- voltage or overvoltage fault is present on a particular input. the status registers also include information on adc limit faults. there are two sets of these registers with different behaviors. the first set of status registers is not latched in any way and, therefore, can change at any time in response to changes on the inputs. these registers provide information as the uv and ov state of the inputs, the digital state of the gpi vxx inputs, and also the adc warning limit status. the second set of registers update each time the sequence engine changes state and are latched until the next state change. the second set of registers provides the same information as the first set, but in a more compact form. the reason for this is that these registers are used by the black box feature when writing status information for the previous state into eeprom. see the an-698 application note for full details about the ADM1166 registers.
ADM1166 rev. 0 | page 20 of 32 nonvolatile black box fault recording a section of eeprom, from address 0xf900 to address 0xf9ff, is provided which, by default, can be used to store user-defined settings and information. part of this section of eeprom, address 0xf980 to address 0xf9ff, can, instead, be used to store up to 16 fault records. a ny sequencing engine state can be designated as a black box write state. each time the sequence engine enters that state a fault record is written into eeprom. the fault record provides a snapshot of the entire ADM1166 state at the point in time when the last state was exited, just prior to entering the designated black box write state. a fault record contains the following information: ? a flag bit set to 0 after the fault record has been written ? the state number of the previous state prior to the fault record write state ? did a sequence/timeout/monitor condition cause the previous state to exit? ? uvstatx and ovstatx input comparator status ? vxx gpistat status ? limstatx status ? a checksum byte each fault record contains eight bytes, with each byte taking typically about 250 s to write to eeprom, for a total write time of about 2 ms. once the black box begins to write a fault record into eeprom, the ADM1166 ensures the write is complete before attempting to write any additional fault records. this means that if consecutive sequencing engine states are designated as black box write states, then a time delay must be used in the first state to ensure that the fault record is written before moving to the next state. when the ADM1166 powers on initially, it performs a search to find the first fault record that has not been written to. it does this by checking the flag bit in each fault record until it finds one where the flag bit is 1. the first fault record is stored at address 0xf980 and at multiples of eight bytes after that, with the last record stored at address 0xf9f8. the fault recorder is only able to write in the eeprom. it is not able to erase the eeprom prior to writing the fault record. therefore, to ensure correct operation, it is important that the fault record eeprom be erased prior to use. once all the eeprom locations for the fault records are used, no more fault records can be written. this ensures that the first fault in any cascading fault is stored and not overwritten and lost. t o avoid the fault recorder filling up and fault records being lost, an application can periodically poll the ADM1166 to determine if there are fault records to be read. alternatively, one of the pdox outputs can be used to generate an interrupt for a processor in the fault record write state to signal the need to come and read one or more fault records. a fter reading fault records during normal operation, the following two things must be done before the fault recorder will be able to reuse the eeprom locations: ? the eeprom section must be erased. ? the fault recorder must be reset so that it performs its search again for the first unused location of eeprom that is available to store a fault record. black box writes with no external supply in cases where all the input supplies fail, for example, if the card has been removed from a powered backplane, the state machine can be programmed to trigger a write into the black box eeprom. the decoupling capacitors on the rail that power the ADM1166 and other loads on the board form an energy reservoir. depending on the other loads on the board and their behavior as the supply rails drop, there may be sufficient energy in the decoupling capacitors to allow the ADM1166 to write a complete fault record (8 bytes of data). typically, it takes 2 ms to write to the eight bytes of a fault record. if the ADM1166 is powered using a 12 v supply on the vh pin, then a uv threshold at 6 v could be set and used as the state machine trigger to start writing a fault record to eeprom. the higher the threshold, the earlier the black box write will begin, and the more energy available in the decoupling capacitors to ensure it completes successfully. provided the vh supply, or another supply connected to a vpx pin, remains above 3.0 v during the time to write, the entire fault record would always be written to eeprom. in many cases, there will be sufficient decoupling capacitors on a board to power the ADM1166 as it writes into eeprom. in cases where the decoupling capacitors are not able to supply sufficient energy for a complete fault record to be written after the board is removed, the value of the capacitor on vddcap may be increased. in the worst case, assuming that no energy is supplied to the ADM1166 by external decoupling capacitors, but that the vddcap capacitor has 4.75 v across it at the start of the black box write to eeprom, then a vddcap of 68 f is sufficient to guarantee a single complete black box record can be written to eeprom.
ADM1166 rev. 0 | page 21 of 32 voltage readback the ADM1166 has an on-board, 12-bit accurate adc for voltage readback over the smbus. the adc has a 12-channel analog mux on the front end. the 12 channels consist of the 10 sfd inputs (vh, vpx, and vxx) and two auxiliary (single- ended) adc inputs (aux1 and aux2). any or all of these inputs can be selected to be read, in turn, by the adc. the circuit controlling this operation is called the round-robin circuit. this circuit can be selected to run through its loop of conversions once or continuously. averaging is also provided for each channel. in this case, the round-robin circuit runs through its loop of conversions 16 times before returning a result for each channel. at the end of this cycle, the results are written to the output registers. the adc samples single-sided inputs with respect to the agnd pin. a 0 v input gives out code 0, and an input equal to the voltage on refin gives out full code (4095 decimal). the inputs to the adc come directly from the vxx pins and from the back of the input attenuators on the vpx and vh pins, as shown in figure 30 and figure 31 . vxx 2.048v vref no attenuation 12-bit adc digitized voltage reading 09332-025 figure 30. adc reading on vxx pins 2.048v vref a ttenu a tion network (depends on range selected) 12-bit adc digitized voltage reading vpx/vh 09332-026 figure 31. adc reading on vpx/vh pins the voltage at the input pin can be derived from the following equation: v = 4095 codeadc attenuation factor v refin where v refin = 2.048 v when the internal reference is used (that is, the refin pin is connected to the refout pin). the adc input voltage ranges for the sfd input ranges are listed in table 9 . table 9. adc input voltage ranges sfd input range v attenuation factor adc input voltage range v 0.573 to 1.375 1 0 to 2.048 1.25 to 3.00 2.181 0 to 4.46 2.5 to 6.0 4.363 0 to 6.0 1 6.0 to 14.4 10.472 0 to 14.4 1 1 the upper limit is the absolute max imum allowed voltage on the vpx and vh pins. the typical way to supply the reference to the adc on the refin pin is to connect the refout pin to the refin pin. refout provides a 2.048 v reference. as such, the supervising range covers less than half the normal adc range. it is possible, however, to provide the adc with a more accurate external reference for improved readback accuracy. supplies can also be connected to the input pins purely for adc readback, even though these pins may go above the expected supervisory range limits (but not above the absolute maximum ratings on these pins). for example, a 1.5 v supply connected to the vx1 pin can be correctly read out as an adc code of approxi- mately 3/4 full scale, but it always sits above any supervisory limits that can be set on that pin. the maximum setting for the refin pin is 2.048 v. suppl supervision with the adc in addition to the readback capability, another level of supervision is provided by the on-chip 12-bit adc. the ADM1166 has limit registers with which the user can program a maximum or minimum allowable threshold. exceeding the threshold generates a warning that can either be read back from the status registers or input into the se to determine what sequencing action the ADM1166 should take. only one register is provided for each input channel. therefore, either an undervoltage threshold or overvoltage threshold (but not both) can be set for a given channel. the round-robin circuit can be enabled via a smbus write, or it can be programmed to turn on in any state in the se program. for example, it can be set to start after a power-up sequence is complete and all supplies are known to be within expected tolerance limits. note that latency is built into this supervision, dictated by the conversion time of the adc. with all 12 channels selected, the total time for the round-robin operation (averaging off) is approximately 6 ms (500 s per channel selected). supervision using the adc, therefore, does not provide the same real-time response as the sfds.
ADM1166 rev. 0 | page 22 of 32 supply margining overview it is often necessary for the system designer to adjust supplies, either to optimize their level or force them away from nominal values to characterize the system performance under these conditions. this is a function typically performed during an in-circuit test (ict), such as when a manufacturer wants to guarantee that a product under test functions correctly at nominal supplies minus 10%. open-loop supply margining the simplest method of margining a supply is to implement an open-loop technique (see figure 32 ). a popular way to do this is to switch extra resistors into the feedback node of a power module, such as a dc-to-dc converter or ldo. the extra resistor alters the voltage at the feedback or trim node and forces the output voltage to margin up or down by a certain amount. the ADM1166 can perform open-loop margining for up to six supplies. the six on-board voltage dacs (dac1 to dac6) can drive into the feedback pins of the power modules to be margined. the simplest circuit to implement this function is an attenuation resistor that connects the dacx pin to the feedback node of a dc-to-dc converter. when the dacx output voltage is set equal to the feedback voltage, no current flows into the attenuation resistor, and the dc-to-dc converter output voltage does not change. taking dacx above the feedback voltage forces current into the feedback node, and the output of the dc-to-dc converter is forced to fall to compensate for this. the dc-to-dc converter output can be forced high by setting the dacx output voltage lower than the feedback node voltage. the series resistor can be split in two, and the node between them can be decoupled with a capacitor to ground. this can help to decouple any noise picked up from the board. decoupling to a ground local to the dc-to-dc converter is recommended. the ADM1166 can be commanded to margin a supply up or down over the smbus by updating the values on the relevant dac output. closed-loop supply margining a more accurate and comprehensive method of margining is to implement a closed-loop system (see figure 33 ). the voltage on the rail to be margined can be read back to accurately margin the rail to the target voltage. the ADM1166 incorporates all the circuits required to do this, with the 12-bit successive approximation adc used to read back the level of the supervised voltages, and the six voltage output dacs, implemented as described in the open- loop supply margining section, used to adjust supply levels. these circuits can be used along with other intelligence, such as a microcontroller, to implement a closed-loop margining system that allows any dc-to-dc converter or ldo supply to be set to any voltage, accurate to within 0.5% of the target. output dc-to-dc converter feedback gnd attenuation resistor, r3 pcb trace noise decoupling capacitor ADM1166 dacx v out dac microcontroller vin device controller (smbus) r1 r2 09332-067 figure 32. open-loop margining system using the ADM1166 output dc-to-dc converter feedback gnd r1 r2 attenuation resistor, r3 pcb trace noise decoupling capacitor vh/vpx/vxx ADM1166 dacx mux adc dac device controller (smbus) microcontroller vin 09332-034 figure 33. closed-loop margining system using the ADM1166
ADM1166 rev. 0 | page 23 of 32 to implement closed-loop margining, 1. disable the six dacx outputs. 2. set the dac output voltage equal to the voltage on the feedback node. 3. enable the dac. 4. read the voltage at the dc-to-dc converter output that is connected to one of the vpx, vh, or vxx pins. 5. if necessary, modify the dacx output code up or down to adjust the dc-to-dc converter output voltage. otherwise, stop because the target voltage has been reached. 6. set the dac output voltage to a value that alters the supply output by the required amount (for example, 5%). 7. repeat step 4 through step 6 until the measured supply reaches the target voltage. step 1 to step 3 ensures that when the dacx output buffer is turned on, it has little effect on the dc-to-dc converter output. the dac output buffer is designed to power up without glitching by first powering up the buffer to follow the pin voltage. it does not drive out onto the pin at this time. once the output buffer is properly enabled, the buffer input is switched over to the dac, and the output stage of the buffer is turned on. output glitching is negligible. writing to the dacs four dac ranges are offered. they can be placed with midcode (code 0x7f) at 0.6 v, 0.8 v, 1.0 v, and 1.25 v. these voltages are placed to correspond to the most common feedback voltages. centering the dac outputs in this way provides the best use of the dac resolution. for most supplies, it is possible to place the dac midcode at the point where the dc-to-dc converter output is not modified, thereby giving half of the dac range to margin up and the other half to margin down. the dac output voltage is set by the code written to the dacx register. the voltage is linear with the unsigned binary number in this register. code 0x7f is placed at the midcode voltage, as described previously. the output voltage is given by dac output = ( dacx ? 0x7f)/255 0.6015 + v off where v off is one of the four offset voltages. there are 256 dac settings available. the midcode value is located at dac code 0x7f as close as possible to the middle of the 256 code range. the full output swing of the dacs is +302 mv (+128 codes) and ?300 mv (?127 codes) around the selected midcode voltage. the voltage range for each midcode voltage is shown in table 10 . table 10. ranges fo r midcode voltages midcode voltage (v) minimum voltage output (v) maximum voltage output (v) 0.6 0.300 0.902 0.8 0.500 1.102 1.0 0.700 1.302 1.25 0.950 1.552 choosing the size of the attenuation resistor the size of the attenuation resistor, r3, determines how much the dac voltage swing affects the output voltage of the dc-to-dc converter that is being margined (see figure 33 ). because the voltage at the feedback pin remains constant, the current flowing from the feedback node to gnd through r2 is a constant. in addition, the feedback node itself is high impedance. this means that the current flowing through r1 is the same as the current flowing through r3. therefore, a direct relationship exists between the extra voltage drop across r1 during margining and the voltage drop across r3. this relationship is given by the following equation: v out = r3 r1 ( v fb ? v dacout ) where: v out is the change in v out . v fb is the voltage at the feedback node of the dc-to-dc converter. v dacout is the voltage output of the margining dac. this equation demonstrates that if the user wants the output voltage to change by 300 mv, then r1 = r3. if the user wants the output voltage to change by 600 mv, r1 = 2 r3, and so on. it is best to use the full dac output range to margin a supply. choosing the attenuation resistor in this way provides the most resolution from the dac, meaning that with one dac code change, the smallest effect on the dc-to-dc converter output voltage is induced. if the resistor is sized up to use a code such as 27 decimal to 227 decimal to move the dc-to-dc converter output by 5%, it takes 100 codes to move 5% (each code moves the output by 0.05%). this is beyond the readback accuracy of the adc, but it should not prevent the user from building a circuit to use the most resolution. dac limiting and other safety features limit registers (called dplimx and dnlimx) on the device offer the user some protection from firmware bugs that can cause catastrophic board problems by forcing supplies beyond their allowable output ranges. essentially, the dac code written into the dacx register is clipped such that the code used to set the dac voltage is given by dac code = dacx, dacx dnlimx and dacx dplimx = dnlimx, dacx < dnlimx = dplimx, dacx > dplimx in addition, the dac output buffer is three-stated if dnlimx > dplimx. by programming the limit registers this way, the user can make it very difficult for the dac output buffers to be turned on during normal system operation. the limit registers are among the registers downloaded from eeprom at startup.
ADM1166 rev. 0 | page 24 of 32 applications diagram 3.3v out 3.3v out vh pdo8 pdo9 pdo10 system reset pdo7 pdo6 pdo2 dac1* pdo1 pdo5 pdo4 pdo3 en out dc-to-dc1 in 3.3v out 3v out 5v out 12v out en out dc-to-dc2 in 2.5v out en out dc-to-dc3 in en out ldo in 1.8v out 0.9v out 1.2v out 5v out 12v in 5v in 3v in vp1 3v out vp2 3.3v out vp3 2.5v out vp4 1.8v out vx1 1.2v out vx2 0.9v out vx3 vx4 vx5 refin vccp vddcap gnd en trim out dc-to-dc4 in ADM1166 *only one margining circuit shown for clarity. dac1 to dac6 allow margining for up to six voltage rails. refout 10f 10f 10f signal valid pwrgd powron reset 09332-068 figure 34. applications diagram
ADM1166 rev. 0 | page 25 of 32 communicating with the ADM1166 configuration downlo ad at power-up th e configuration of the ADM1166 (undervoltage/overvoltage thresholds, glitch filter timeouts, and pdo configurations) is dictated by the contents of the ram. the ram comprises digital latches that are local to each function on the device. the latches are double buffered and have two identical latches, latch a and latch b. therefore, when an update to a function occurs, the contents of latch a are updated first, and then the contents of latch b are updated with identical data. the advantages of this architecture are explained in detail in the updating the configuration section. th e two latches are volatile memory and lose their contents at power-down. therefore, the configuration in the ram must be restored at power-up by downloading the contents of the eeprom (nonvolatile memory) to the local latches. this download occurs in steps, as follows: 1. with no power applied to the device, the pdos are all high impedance. 2. when 1.2 v appears on any of the inputs connected to the vdd arbitrator (vh or vpx), the pdos are all weakly pulled to gnd with a 20 k resistor. 3. when the supply rises above the undervoltage lockout of the device (uvlo is 2.5 v), the eeprom starts to download to the ram. 4. the eeprom downloads its contents to all latch as. 5. when the contents of the eeprom are completely downloaded to the latch as, the device controller signals all latch as to download to all latch bs simultaneously, completing the configuration download. 6. at 0.5 ms after the configuration download completes, the first state definition is downloaded from the eeprom into the se. note that any attempt to communicate with the device prior to the completion of the download causes the ADM1166 to issue a no acknowledge (nack). updating the configuration after power-up, with all the configuration settings loaded from the eeprom into the ram registers, the user may need to alter the configuration of functions on the ADM1166, such as changing the undervoltage or overvoltage limit of an sfd, changing the fault output of an sfd, or adjusting the rise time delay of one of the pdos. the ADM1166 provides several options that allow the user to update the configuration over the smbus interface. the following three options are controlled in the updcfg register. option 1 update the configuration in real time. the user writes to the ram across the smbus, and the configuration is updated immediately. option 2 update the latch as without updating the latch bs. with this method, the configuration of the ADM1166 remains unchanged and continues to operate in the original setup until the instruction is given to update the latch bs. option 3 change the eeprom register contents without changing the ram contents, and then download the revised eeprom contents to the ram registers. with this method, the configuration of the ADM1166 remains unchanged and continues to operate in the original setup until the instruction is given to update the ram. the instruction to download from the eeprom in option 3 is also a useful way to restore the original eeprom contents if revisions to the configuration are unsatisfactory. for example, if the user needs to alter an overvoltage threshold, the ram register can be updated as described in the option 1 section. however, if the user is not satisfied with the change and wants to revert to the original programmed value, the device controller can issue a command to download the eeprom contents to the ram again, as described in the option 3 section, restoring the ADM1166 to its original configuration. the topology of the ADM1166 makes this type of operation possible. the local, volatile registers (ram) are all double- buffered latches. setting bit 0 of the updcfg register to 1 leaves the double-buffered latches open at all times. if bit 0 is set to 0 when a ram write occurs across the smbus, only the first side of the double-buffered latch is written to. the user must then write a 1 to bit 1 of the updcfg register. this generates a pulse to update all the second latches at once. eeprom writes occur in a similar way. the final bit in this register can enable or disable eeprom page erasure. if this bit is set high, the contents of an eeprom page can all be set to 1. if this bit is set low, the contents of a page cannot be erased, even if the command code for page erasure is programmed across the smbus. the bit map for the updcfg register is shown in the an-698 application note. a flow diagram for download at power-up and subsequent configuration updates is shown in figure 35 . power-up (v cc > 2.5v) eeprom e e p r o m l d d a t a r a m l d u p d smbus device controller latch a latch b function (ov threshold on vp1) 09332-035 figure 35. configuration update flow diagram
ADM1166 rev. 0 | page 26 of 32 updating the sequencing engine sequencing engine (se) functions are not updated in the same way as regular configuration latches. the se has its own dedicated 512-byte nonvolatile, electrically erasable, programmable, read- only memory (eeprom) for storing state definitions, providing 63 individual states each with a 64-bit word (one state is reserved). at power-up, the first state is loaded from the se eeprom into the engine itself. when the conditions of this state are met, the next state is loaded from the eeprom into the engine, and so on. the loading of each new state takes approximately 10 s. to alter a state, the required changes must be made directly to the eeprom. ram for each state does not exist. the relevant alterations must be made to the 64-bit word, which is then uploaded directly to the eeprom. internal registers the ADM1166 contains a large number of data registers. the principal registers are the address pointer register and the configuration registers. address pointer register the address pointer register contains the address that selects one of the other internal registers. when writing to the ADM1166, the first byte of data is always a register address that is written to the address pointer register. configuration registers the configuration registers provide control and configuration for various operating parameters of the ADM1166. eeprom t he ADM1166 has two 512-byte cells of nonvolatile eeprom from address 0xf800 to address 0xfbff. the eeprom is used for permanent storage of data that is not lost when the ADM1166 is powered down. one eeprom cell, 0xf800 to 0xf9ff, contains the configuration data, user information and, if enabled, any fault records of the device; the other section, 0xfa00 to 0xfbff, contains the state definitions for the se. although referred to as read-only memory, the eeprom can be written to, as well as read from, using the serial bus in exactly the same way as the other registers. t he major differences between the eeprom and other registers are as follows: ? an eeprom location must be blank before it can be written to. if it contains data, the data must first be erased. ? writing to the eeprom is slower than writing to the ram. ? writing to the eeprom should be restricted because it has a limited write/cycle life of typically 10,000 write operations due to the usual eeprom wear-out mechanisms. the first eeprom is split into 16 (0 to 15) pages of 32 bytes each. page 0 to page 3, from address 0xf800 to address 0xf89f, hold the configuration data for the applications on the ADM1166 (such as the sfds and pdos). these eeprom addresses are the same as the ram register addresses, prefixed by f8. page 5 to page 7, from address 0xf8a0 to address 0xf8ff, are reserved. p age 8 to page 11 are available for customer use to store any information that may be required by the customer in their application. customers can store information on page 12 to page 15, or these pages can store the fault records written by the sequencing engine if users have decided to enable writing of the fault records for different states. d ata can be downloaded from the eeprom to the ram in one of the following ways: ? at power-up, when page 0 to page 4 are downloaded. ? by setting bit 0 of the udownld register (0xd8), which performs a user download of page 0 to page 4. when the sequence engine is enabled, it is not possible to access the section of eeprom from address 0xfa00 to address 0xfbff. the sequence engine must be halted before it is possible to read or write to this range. attempting to read or write to this range if the sequence engine is not halted will generate a no acknowledge, or nack. read/write access to the configuration and user eeprom ranges from address 0xf800 to address 0xf89f and address 0xf900 to address 0xf9ff depends on whether the black box fault recorder is enabled. if the fault recorder is enabled and one or more states have been set as fault record trigger states, then it is not possible to access any eeprom location in this range without first halting the black box. attempts to read or write this eeprom range while the fault recorder is operating are acknowledged by the device but do not return any useful data or modify the eeprom in any way. if none of the states are set as fault record trigger states, then the black box is considered disabled, and read/write access is allowed without having to halt the black box fault recorder. serial bus interface the ADM1166 is controlled via the serial system management bus (smbus) and is connected to this bus as a slave device under the control of a master device. it takes approximately 1 ms after power-up for the ADM1166 to download from its eeprom. therefore, access to the ADM1166 is restricted until the download is complete. identifying the ADM1166 on the smbus the ADM1166 has a 7-bit serial bus slave address (see tabl e 11 ). the device is powered up with a default serial bus address. the five msbs of the address are set to 01101; the two lsbs are determined by the logical states of pin a1 and pin a0. this allows the connection of four ADM1166s to one smbus. table 11. serial bus slave address a1 pin a0 pin hex address 7-bit address 1 low low 0x68 0110100x low high 0x6a 0110101x high low 0x6c 0110110x high high 0x6e 0110111x 1 x = read/write bit. the address is shown only as the first 7 msbs.
ADM1166 rev. 0 | page 27 of 32 the device also has several identification registers (read-only) that can be read across the smbus. table 12 lists these registers with their values and functions. table 12. identification regi ster values and functions name address all other devices on the bus remain idle while the selected device waits for data to be read from or written to it. if the r/ w bit is a 0, the master writes to the slave device. if the r/ w bit is a 1, the master reads from the slave device. 2. data is sent over the serial bus in sequences of nine clock pulses: eight bits of data followed by an acknowledge bit from the slave device. data transitions on the data line must occur during the low period of the clock signal and remain stable during the high period because a low-to-high transition when the clock is high could be interpreted as a stop signal. if the operation is a write operation, the first data byte after the slave address is a command byte. this command byte tells the slave device what to expect next. it may be an instruction telling the slave device to expect a block write, or it may be a register address that tells the slave where subsequent data is to be written. because data can flow in only one direction, as defined by the r/ w bit, sending a command to a slave device during a read operation is not possible. before a read operation, it may be necessary to perform a write operation to tell the slave what sort of read operation to expect and/or the address from which data is to be read. value function manid 0xf4 0x41 manufacturer id for analog devices revid 0xf5 0x02 silicon revision mark1 0xf6 0x00 software brand mark2 0xf7 0x00 software brand general smbus timing figure 36 , figure 37 , and figure 38 are timing diagrams for general read and write operations using the smbus. the smbus specification defines specific conditions for different types of read and write operations, which are discussed in the write operations and the read operations sections. the general smbus protocol operates in the following three steps. 1. the master initiates data transfer by establishing a start condition, defined as a high-to-low transition on the serial data line sda, while the serial clock line scl remains high. this indicates that a data stream follows. all slave peripherals connected to the serial bus respond to the start condition and shift in the next eight bits, consisting of a 7-bit slave address (msb first) plus an r/ w bit. this bit determines the direction of the data transfer, that is, whether data is written to or read from the slave device (0 = write, 1 = read). 3. when all data bytes have been read or written, stop conditions are established. in write mode, the master pulls the data line high during the 10 th clock pulse to assert a stop condition. in read mode, the master device releases the sda line during the low period before the ninth clock pulse, but the slave device does not pull it low. this is known as a no acknowledge. the master then takes the data line low during the low period before the 10 th clock pulse and then high during the 10 th clock pulse to assert a stop condition. the peripheral whose address corresponds to the transmitted address responds by pulling the data line low during the low period before the ninth clock pulse, known as the acknowledge bit, and by holding it low during the high period of this clock pulse. 19 9 1 19 1 9 start by master ack. by slave ack. by slave ack. by slave ack. by slave frame 2 command code frame 1 slave address frame n data byte frame 3 data byte scl sda r/w stop by master scl (continued) sda (continued) d7 a0 a1 1 11 0 0 d6 d5 d4 d3 d2 d1 d0 d7 d6 d5 d4 d3 d2 d1 d0 d7 d6 d5 d4 d3 d2 d1 d0 09332-036 figure 36. general smbus write timing diagram
ADM1166 rev. 0 | page 28 of 32 9 19 9 1 19 1 start by master ack. by slave ack. by master ack. by master no ack. frame 2 data byte frame 1 slave address frame n data byte frame 3 data byte scl sda r/w stop by master scl (continued) sda (continued) d7 a0 a1 1 11 0 0 d6 d5 d4 d3 d2 d1 d0 d7 d6 d5 d4 d3 d2 d1 d0 d7 d6 d5 d4 d3 d2 d1 d0 09332-037 figure 37. general smbus read timing diagram scl sda ps s p t su;sto t hd;sta t su;sta t su;dat t hd;dat t hd;sta t high t buf t low t r t f 09332-038 figure 38. serial bus timing diagram smbus protocols for ram and eeprom the ADM1166 contains volatile registers (ram) and nonvolatile registers (eeprom). user ram occupies address 0x00 to address 0xdf, and the eeprom occupies address 0xf800 to address 0xfbff. data can be written to and read from both the ram and the eeprom as single data bytes. data can be written only to unprogrammed eeprom locations. to write new data to a programmed location, the location contents must first be erased. eeprom erasure cannot be done at the byte level. the eeprom is arranged as 32 pages of 32 bytes each, and an entire page must be erased. page erasure is enabled by setting bit 2 in the updcfg register (address 0x90) to 1. if this bit is not set, page erasure cannot occur, even if the command byte (0xfe) is programmed across the smbus.
ADM1166 rev. 0 | page 29 of 32 wr ite operations th e smbus specification defines several protocols for different types of read and write operations. the following abbreviations are used in figure 39 to figure 47 : ? s = start ? p = stop ? r = read ? w = write ? a = acknowledge ? a = no acknowledge the ADM1166 uses the following smbus write protocols. send byte i n a send byte operation, the master device sends a single command byte to a slave device, as follows: 1. the master device asserts a start condition on sda. 2. the master sends the 7-bit slave address followed by the write bit (low). 3. the addressed slave device asserts an acknowledge (ack) on sda. 4. the master sends a command code. 5. the slave asserts an ack on sda. 6. the master asserts a stop condition on sda, and the transaction ends. in the ADM1166, the send byte protocol is used for two purposes: ? to write a register address to the ram for a subsequent single byte read from the same address, or for a block read or block write starting at that address, as shown in figure 39 . 24 13 5 slave address ram address (0x00 to 0xdf) sw a a 6 p 09332-039 figure 39. setting a ram a ddress for subsequent read ? to erase a page of eeprom memory. eeprom memory can be written to only if it is unprogrammed. before writing to one or more eeprom memory locations that are already programmed, the page(s) containing those locations must first be erased. eeprom memory is erased by writing a command byte. the master sends a command code telling the slave device to erase the page. the ADM1166 command code for a page erasure is 0xfe (1111 1110). note that for a page erasure to take place, the page address must be given in the previous write word transaction (see the wr ite byte/word section). in addition, bit 2 in the updcfg register (address 0x90) must be set to 1. 24 13 5 slave address command byte (0xfe) sw a a 6 p 09332-040 figure 40. eeprom page erasure as soon as the ADM1166 receives the command byte, page erasure begins. the master device can send a stop command as soon as it sends the command byte. page erasure takes approximately 20 ms. if the ADM1166 is accessed before erasure is complete, it responds with a no acknowledge (nack). write byte/word in a write byte/word operation, the master device sends a command byte and one or two data bytes to the slave device, as follows: 1. the master device asserts a start condition on sda. 2. the master sends the 7-bit slave address followed by the write bit (low). 3. the addressed slave device asserts an ack on sda. 4. the master sends a command code. 5. the slave asserts an ack on sda. 6. the master sends a data byte. 7. the slave asserts an ack on sda. 8. the master sends a data byte or asserts a stop condition. 9. the slave asserts an ack on sda. 10. the master asserts a stop condition on sda to end the transaction. in the ADM1166, the write byte/word protocol is used for three purposes: ? to write a single byte of data to the ram. in this case, the command byte is ram address 0x00 to ram address 0xdf, and the only data byte is the actual data, as shown in figure 41 . slave address ram address (0x00 to 0xdf) s w a data ap a 24 13 5 76 8 09332-041 figure 41. single byte write to the ram ? to set up a 2-byte eeprom address for a subsequent read, write, block read, block write, or page erase. in this case, the command byte is the high byte of eeprom address 0xf8 to eeprom address 0xfb. the only data byte is the low byte of the eeprom address, as shown in figure 42 . slave address eeprom address high byte (0xf8 to 0xfb) sw a eeprom address low byte (0x00 to 0xff) ap a 24 13 5 7 6 8 09332-042 figure 42. setting an eeprom address
ADM1166 rev. 0 | page 30 of 32 p 1 0 because a page consists of 32 bytes, only the three msbs of the address low byte are important for page erasure. the lower five bits of the eeprom address low byte specify the addresses within a page and are ignored during an erase operation. un like some eeprom devices that limit block writes to within a page boundary, there is no limitation on the start address when performing a block write to eeprom, except when ? there must be at least n locations from the start address to the highest eeprom address (0xfbff) to avoid writing to invalid addresses. ? to write a single byte of data to the eeprom. in this case, the command byte is the high byte of eeprom address 0xf8 to eeprom address 0xfb. the first data byte is the low byte of the eeprom address, and the second data byte is the actual data, as shown in figure 43 . ? an address crosses a page boundary. in this case, both pages must be erased before programming. note that the ADM1166 features a clock extend function for writes to the eeprom. programming an eeprom byte takes approxi- mately 250 s, which limits the smbus clock for repeated or block write operations. the ADM1166 pulls scl low and extends the clock pulse when it cannot accept any more data. slave address eeprom address high byte (0xf8 to 0xfb) sw a eeprom address low byte (0x00 to 0xff) a a 24 13 5 7 a 9 data 8 6 09332-043 figure 43. single byte write to the eeprom read operations bl ock write the ADM1166 uses the following smbus read protocols. in a block write operation, the master device writes a block of data to a slave device. the start address for a block write must have been set previously. in the ADM1166, a send byte opera- tion sets a ram address, and a write byte/word operation sets an eeprom address, as follows: re ceive byte in a receive byte operation, the master device receives a single byte from a slave device, as follows: 1. the master device asserts a start condition on sda. 2. the master sends the 7-bit slave address followed by the read bit (high). 1. the master device asserts a start condition on sda. 2. the master sends the 7-bit slave address followed by the write bit (low). 3. the addressed slave device asserts an ack on sda. 4. t he master receives a data byte. 3. t he addressed slave device asserts an ack on sda. 5. the master asserts a nack on sda. 4. the master sends a command code that tells the slave device to expect a block write. the ADM1166 command code for a block write is 0xfc (1111 1100). 6. the master asserts a stop condition on sda, and the transaction ends. 5. the slave asserts an ack on sda. in the ADM1166, the receive byte protocol is used to read a single byte of data from a ram or eeprom location whose address has previously been set by a send byte or write byte/word operation, as shown in figure 44 . 6. the master sends a data byte that tells the slave device how many data bytes are being sent. the smbus specification allows a maximum of 32 data bytes in a block write. 7. the slave asserts an ack on sda. 23 14 5 slave address srd a t a a 6 p a 09332-045 8. the master sends n data bytes. 9. the slave asserts an ack on sda after each data byte. 10. the master asserts a stop condition on sda to end the transaction. figure 44. single byte read from the eeprom or ram slave address sw a 2 command 0xfc (block write) 4 13 a 5 byte count 6 a 7 a 91 0 a p a data 1 8 data n data 2 09332-044 figure 45. block write to the eeprom or ram
ADM1166 rev. 0 | page 31 of 32 b lock read i n a block read operation, the master device reads a block of data from a slave device. the start address for a block read must have been set previously. in the ADM1166, this is done by a send byte operation to set a ram address, or a write byte/word operation to set an eeprom address. the block read operation itself consists of a send byte operation that sends a block read command to the slave, immediately followed by a repeated start and a read operation that reads out multiple data bytes, as follows: 1. the master device asserts a start condition on sda. 2. the master sends the 7-bit slave address followed by the write bit (low). 3. the addressed slave device asserts an ack on sda. 4. the master sends a command code that tells the slave device to expect a block read. the ADM1166 command code for a block read is 0xfd (1111 1101). 5. the slave asserts an ack on sda. 6. the master asserts a repeat start condition on sda. 7. the master sends the 7-bit slave address followed by the read bit (high). 8. the slave asserts an ack on sda. 9. the ADM1166 sends a byte-count data byte that tells the master how many data bytes to expect. the ADM1166 always returns 32 data bytes (0x20), which is the maximum allowed by the smbus version 1.1 specification. 10. the master asserts an ack on sda. 11. the master receives 32 data bytes. 12. the master asserts an ack on sda after each data byte. 13. the master asserts a stop condition on sda to end the transaction. er ror correction th e ADM1166 provides the option of issuing a packet error correc- tion (pec) byte after a write to the ram, a write to the eeprom, a block write to the ram/eeprom, or a block read from the ram/eeprom. this option enables the user to verify that the data received by or sent from the ADM1166 is correct. the pec byte is an optional byte sent after the last data byte has been written to or read from the ADM1166. the protocol is the same as a block read for step 1 to step 12 and then proceeds as follows: 13. the ADM1166 issues a pec byte to the master. the master checks the pec byte and issues another block read, if the pec byte is incorrect. 14. a nack is generated after the pec byte to signal the end of the read. 15. the master asserts a stop condition on sda to end the transaction. note that the pec byte is calculated using crc-8. the frame check sequence (fcs) conforms to crc-8 by the polynomial c ( x ) = x 8 + x 2 + x 1 + 1 see the smbus version 1.1 specification for details. an example of a block read with the optional pec byte is shown in figure 47 . slave address sw a 2 command 0xfd (block read) 4 13 a 5 s 6 slave address 7 byte count 91011 a ra 8 data 1 data 32 12 a 13 p a 09332-046 figure 46. block read from the eeprom or ram slave address sw a 2 command 0xfd (block read) 4 13 a 5 s 6 slave address 7 byte count 910 12 11 a ra 8 data 1 data 32 a 13 pec 14 a 15 p a 09332-047 figure 47. block read from the eeprom or ram with pec
ADM1166 rev. 0 | page 32 of 32 outline dimensions 02-02-2010-a 0.50 bsc bottom view top view pin 1 indicator exposed pad p i n 1 i n d i c a t o r seating plane 0.05 max 0.02 nom 0.20 ref coplanarity 0.08 0.30 0.25 0.18 6.10 6.00 sq 5.90 0.80 0.75 0.70 forproperconnectionof the exposed pad, refer to the pin configuration and function descriptions section of this data sheet. 0.45 0.40 0.35 0.20 min * 4.70 4.60 sq 4.50 compliant to jedec standards mo-220-wjjd-5 with exception to exposed pad dimension. 40 1 11 20 21 30 31 10 figure 48. 40-lead lead frame chip scale package [lfcsp_wq] 6 mm 6 mm body, very thin quad (cp-40-7) dimensions shown in millimeters compliant to jedec standards ms-026abc 0.50 bsc lead pitch 0.27 0.22 0.17 9.00 bsc sq 7.00 bsc sq 1.20 max top view (pins down) 1 12 13 25 24 36 37 48 0.75 0.60 0.45 pin 1 view a 1.05 1.00 0.95 0.20 0.09 0.08 max coplanarity seating plane 0 min 7 3.5 0 0.15 0.05 view a rotated 90 ccw figure 49. 48-lead thin plastic quad flat package [tqfp] (su-48) dimensions shown in millimeters ordering guide model 1 temperature range package description package option ADM1166acpz ?40c to +85c 40-lead lead frame chip scale package [lfcsp_wq] cp-40-7 ADM1166acpz-reel ?40c to +85c 40-lead lead frame chip scale package [lfcsp_wq] cp-40-7 ADM1166asuz ?40c to +85c 48-lead thin pl astic quad flat package [tqfp] su-48 ADM1166asuz-reel ?40c to +85c 48-lead thin plastic quad flat package [tqfp] su-48 eval-ADM1166tqebz evaluation kit [tqfp] 1 z = rohs compliant part. ?2010 analog devices, inc. all rights reserved. trademarks and registered trademarks are the prop erty of their respective owners. d09332-0-12 /10(0)


▲Up To Search▲   

 
Price & Availability of ADM1166

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X